package com.telecom.cms.dto;

public class TwoId  implements java.io.Serializable{
  private String custId="";
  private String prdInstId="";
  private String accsnbr="";
  private String billingcycleid="";
  
  
public String getCustId() {
	return custId;
}
public void setCustId(String custId) {
	this.custId = custId;
}
public String getPrdInstId() {
	return prdInstId;
}
public void setPrdInstId(String prdInstId) {
	this.prdInstId = prdInstId;
}
public String getAccsnbr() {
	return accsnbr;
}
public void setAccsnbr(String accsnbr) {
	this.accsnbr = accsnbr;
}


public boolean equals(Object obj)
{
	TwoId st=null;
	if(obj instanceof TwoId) 
	{
		st=(TwoId)obj;
		if(st.custId.trim().equals(custId.trim())&&st.prdInstId.trim().equals(prdInstId.trim())
				&&st.accsnbr.trim().equals(accsnbr.trim())&&st.billingcycleid.trim().equals(billingcycleid.trim()))
			return true;
		else 
			return false;
	}
	else
		return false;
}

public int hashCode(){
    return super.hashCode();
}


public String getBillingcycleid() {
	return billingcycleid;
}
public void setBillingcycleid(String billingcycleid) {
	this.billingcycleid = billingcycleid;
}
}
